﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.ScheduleJob.SPI
{
    /// <summary>
    /// 统一的计划任务服务控制管理接口
    /// </summary>
    public interface IScheduleJobControlService
    {
        List<ScheduleJobInstanceStore> GetScheduleJobInstances(UserDefineQueryFilter filter);
        ScheduleJobInstanceStore GetScheduleJobInstanceByInstanceID(string instanceID);
        List<ScheduleJobInstanceStore> GetAllActiveJobs();
        List<ScheduleJobExecuteInfo> GetScheduleJobExecuteInfos(List<string> instanceIDs);
    }
}
